package com.jh.pattern.factory.abstactfactory;

import com.jh.pattern.factory.ICourse;
import com.jh.pattern.factory.INote;
import com.jh.pattern.factory.IVedio;
import com.jh.pattern.factory.JavaCourse;
import com.jh.pattern.factory.JavaNote;
import com.jh.pattern.factory.JavaVedio;

/**
 * @author JH_Wong
 * @projectName newforward
 * @title
 * @package com.jh.pattern.factory.abstactfactory
 * @description
 * @date 2019-05-07 22:09
 */
public class JavaFactory implements IAbstactFactory{
    public ICourse createCourse() {
        return new JavaCourse();
    }

    public INote createNote() {
        return new JavaNote();
    }

    public IVedio createVedio() {
        return new JavaVedio();
    }
}
